<template>
    <view class="goods-list">
        <view class="main">
            <goods-card v-for="e in dataList" :key="e.id" :cardData="e"></goods-card>
        </view>

        <load-more :loadStatus="loadStatus"></load-more>
    </view>
</template>

<script>
export default {
    props: {
        dataList: Array,
        loadStatus: Number
    }
}
</script>

<style scoped lang="scss">
.goods-list {
    .main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .goods-card {
            width: 48%;
        }
    }
}
</style>
